package com.kgc.document;

import org.apache.solr.client.solrj.beans.Field;
import org.springframework.data.solr.core.mapping.SolrDocument;

@SolrDocument(solrCoreName = "ticket")
public class Ticket {
    @Field
    private String id;
    @Field
    private String priceRange;
    @Field
    private String status;
    @Field
    private String performer;
@Field
private String title;
    @Field
    private String time;
    @Field
    private  String hostAddress;
    @Field
    private  String picPath;
    @Field
    private  String city;
    @Field
    private  String style;
    @Field
    private  String date;

    @Override
    public String toString() {
        return "Ticket{" +
                "id='" + id + '\'' +
                ", priceRange='" + priceRange + '\'' +
                ", status='" + status + '\'' +
                ", performer='" + performer + '\'' +
                ", title='" + title + '\'' +
                ", time='" + time + '\'' +
                ", hostAddress='" + hostAddress + '\'' +
                ", picPath='" + picPath + '\'' +
                ", city='" + city + '\'' +
                ", style='" + style + '\'' +
                ", date='" + date + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPriceRange() {
        return priceRange;
    }

    public void setPriceRange(String priceRange) {
        this.priceRange = priceRange;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getPerformer() {
        return performer;
    }

    public void setPerformer(String performer) {
        this.performer = performer;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getHostAddress() {
        return hostAddress;
    }

    public void setHostAddress(String hostAddress) {
        this.hostAddress = hostAddress;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
}
